<!-- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> -->
<%@ page contentType="text/html; charset=UTF-8" 
	import="javax.servlet.*"
	import="javax.servlet.http.*" 
	import="java.io.*" 
	import="java.util.*"
	import="edu.indiana.d2i.vmm.vm.*"
	import="edu.indiana.d2i.vmm.job.*"
%>
<%
	//HTRCJobTracker tracker = (HTRCJobTracker) application.getAttribute("htrcjobtracker");
%>
<%
	//String jobId = request.getParameter("jobid");
	//if (jobId == null) {
		//out.println("<h2>No 'jobid'!</h2>");
	    //return;
	//}
	//HTRCJobInProgress job = tracker.getJobFullInfo(jobId);
%>

<%!
	
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>VM Cluster Administration</title>
</head>
<body>
	<h1>HTRC <%//=jobId%> on <a href="htrcjobtracker.jsp">JobTracker</a></h1>
	<h2>Job Configuration</h2>
	<hr>
<%
// 	out.print("<b>User:</b> " + job.jobConf.userID + "<br>\n");
// 	out.print("<b>Job Type:</b> " + job.jobConf.jobtype + "<br>\n");
// 	out.print("<b>Job File Path:</b> " + job.jobConf.jobFilePath + "<br>\n");
// 	out.print("<b>Job Property Path:</b> " + job.jobConf.propFilePath + "<br>\n");
// 	out.print("<b>Number of VMs Job Uses:</b> " + job.jobConf.numVM + "<br>\n");
// 	if (job.jobConf.args != null) {
// 		out.print("<b>Job Input Arguments:</b>\n");
// 		for (int i = 0; i < job.jobConf.args.length; i++) 
// 			out.print(job.jobConf.args[i] + "\n");
// 	}
// 	out.print("<hr> \n");
%>
	<h2>Job Status</h2>
	<hr>
<%
// 	out.print("<b>Status:</b> " + job.jobStatus.status + "<br>\n");
// 	out.print("<b>Status From VM Cluster</b>:<br>");
// 	if (job.jobStatus.info != null) {
// 		String contents = job.jobStatus.info.replaceAll("\n", "<br>");
// 		out.print(contents + "\n");
// 	}
%>
</body>
</html>